package ar.edu.itba.it.paw.repo;

import java.util.List;

import ar.edu.itba.it.paw.domain.Category;
import ar.edu.itba.it.paw.domain.Transaction;
import ar.edu.itba.it.paw.domain.exceptions.InsufficientProductsException;
import ar.edu.itba.it.paw.domain.exceptions.InvalidOperationException;

public interface TransactionRepo {

	public void buy(Transaction transaction) throws InsufficientProductsException, InvalidOperationException;
	
	public List<Transaction> getTransactionByCategory(Category category);
	
}
